package org.tigris.scarab.model;

import java.util.Date;

public class Attribute {

    private Integer attributeId; //SCARAB_ATTRIBUTE.ATTRIBUTE_ID
    private String attributeName; //SCARAB_ATTRIBUTE.ATTRIBUTE_NAME
    private String style; //SCARAB_ATTRIBUTE.STYLE
    private String format; //SCARAB_ATTRIBUTE.FORMAT
    private String hint; //SCARAB_ATTRIBUTE.HINT
    private Integer fieldsize; //SCARAB_ATTRIBUTE.FIELDSIZE
    private Integer attributeTypeId; //SCARAB_ATTRIBUTE.ATTRIBUTE_TYPE_ID
    private String permission; //SCARAB_ATTRIBUTE.PERMISSION
    private Integer requiredOptionId; //SCARAB_ATTRIBUTE.REQUIRED_OPTION_ID
    private String description; //SCARAB_ATTRIBUTE.DESCRIPTION
    private String action; //SCARAB_ATTRIBUTE.ACTION
    private Integer createdBy; //SCARAB_ATTRIBUTE.CREATED_BY
    private Date createdDate; //SCARAB_ATTRIBUTE.CREATED_DATE
    private Integer multiValue; //SCARAB_ATTRIBUTE.MULTI_VALUE
    private Integer deleted; //SCARAB_ATTRIBUTE.DELETED

    public Integer getAttributeId() {
        return attributeId;
    }

    public void setAttributeId(Integer attributeId) {
        this.attributeId = attributeId;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName == null ? null : attributeName.trim();
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style == null ? null : style.trim();
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format == null ? null : format.trim();
    }

    public String getHint() {
        return hint;
    }

    public void setHint(String hint) {
        this.hint = hint == null ? null : hint.trim();
    }

    public Integer getFieldsize() {
        return fieldsize;
    }

    public void setFieldsize(Integer fieldsize) {
        this.fieldsize = fieldsize;
    }

    public Integer getAttributeTypeId() {
        return attributeTypeId;
    }

    public void setAttributeTypeId(Integer attributeTypeId) {
        this.attributeTypeId = attributeTypeId;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission == null ? null : permission.trim();
    }

    public Integer getRequiredOptionId() {
        return requiredOptionId;
    }

    public void setRequiredOptionId(Integer requiredOptionId) {
        this.requiredOptionId = requiredOptionId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action == null ? null : action.trim();
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Integer getMultiValue() {
        return multiValue;
    }

    public void setMultiValue(Integer multiValue) {
        this.multiValue = multiValue;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
}